package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.ReturnList;
import com.atguigu.jxc.entity.ReturnListGoods;

import java.util.List;
import java.util.Map;

/**
 * @author Sanmier
 * @create 2020-12-29 19:44
 */
public interface ReturnListService {

    //新增退货单
    ServiceVO returnListGoodsListSave(ReturnList returnList, List<ReturnListGoods> returnListGoodsList);


    //条件查询
    Map<String, Object> getReSearchList(String returnNumber, Integer supplierId, Integer state, String sTime, String eTime);


    //查询退货单商品信息
    Map<String, Object> getReGoodsList(Integer returnListId);


    //退货单删除
    ServiceVO deleteReturnListGoods(Integer returnListId);


    //支付结算（修改退货单付款状态）
    ServiceVO updateReturneListGoods(Integer returnListId);
}
